package com.todod.base.module.base.api;

import io.swagger.v3.oas.annotations.Operation;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient(url = "http://127.0.0.1")
public interface DevcieApi {

    @GetMapping("/start/{port}")
    @Operation(summary = "综合录井仪开始调用")
    public void startDevice(@PathVariable("port") String port);

    @GetMapping("/stop/{port}")
    @Operation(summary = "综合录井仪暂停调用")
    public void stopDevice(@PathVariable("port") String port);

    @GetMapping("/tcpStart/{port}")
    @Operation(summary = "LWD开始调用")
    public void startLWD(@PathVariable("port") String port);

    @GetMapping("/tcpStop/{port}")
    @Operation(summary = "LWD暂停调用")
    public void stopLWD(@PathVariable("port") String port);


}
